package com.yxw.live_vod_facade.dto;




import io.swagger.annotations.ApiModel;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/8 17:19:52
*@update 2023/12/8 17:19:52
**/
@Data
//@EqualsAndHashCode(callSuper = true)
@ApiModel(value="YxLiveShopReportDTO", description="举报DTO")
public class YxLiveShopReportDTO   implements Serializable
{
    private static final long serialVersionUID = 61702027192924L;
    /**
    *被举报记录主键
    */
    @NotNull(message = "被举报记录主键不可为空")
    @ApiModelProperty(value = "被举报记录主键")
    private Long reporId;
    /**
    *处理人id
    */
    @NotBlank(message = "处理人id不可为空")
    @ApiModelProperty(value = "处理人id")
    private String accessUserId;
    /**
    *处理人姓名
    */
    @NotBlank(message = "处理人姓名不可为空")
    @ApiModelProperty(value = "")
    private String accessUserName;
    /**
    *受理结果:0未受理,1店铺违规,2店铺不违规
    */
    @NotNull(message = "受理结果不可为空")
    @ApiModelProperty(value = "受理结果:0未受理,1店铺违规,2店铺不违规")
    private Integer accessResult;

    /**
    *将DTO转换为ENTITY
    
    public YxLiveShopReportEntity ConverToEntity()
    {
        YxLiveShopReportEntity oYxLiveShopReportEntity = new YxLiveShopReportEntity ();
        oYxLiveShopReportEntity.setId(reporId) ;
        oYxLiveShopReportEntity.setAccessUserId(accessUserId) ;
        oYxLiveShopReportEntity.setAccessUserName(accessUserName) ;
        oYxLiveShopReportEntity.setAccessResult(accessResult) ;
        return oYxLiveShopReportEntity;
    } */
}

